package com.ponhu.ea2.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Map;

/**
 * @author luyu
 * @create 2021-09-08 10:42
 *
 */
@Data
@ApiModel(value = "商品中心返回商品信息FOR APP")
public class GoodsInfoForAppVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("商品编号（库存编码）")
    private String goodsCode;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("商品名称简称")
    private String goodsShortName;

    @ApiModelProperty("胖虎专享价")
    private BigDecimal saleTaxPrice;

    @ApiModelProperty("官方售价")
    private BigDecimal officialPrice;

    // 商品详情图
    @ApiModelProperty("商品详情图")
    private String goodsDetailImgUrls;

    // 商品详情图
    @ApiModelProperty("商品主图")
    private String mainImage;

    @ApiModelProperty("成色编码")
    private String quality;

    @ApiModelProperty("成色等级")
    private String qualityValue;

    // 取180天的,也就是半年内所有同行价格的平均值
    @ApiModelProperty("同行价")
    private Integer tradePrice;

    // 半年内的每个月平均价
    @ApiModelProperty("价格趋势（1上升、-1下降）")
    private Map<String,Integer> priceTrend;

    // 商品卖点
    @ApiModelProperty("销售介绍(语音)")
    private String goodsSellingPoint;

    @ApiModelProperty("商品品牌Id")
    private Integer brandId;

    @ApiModelProperty("商品品牌名称")
    private String brandName;

    @ApiModelProperty("商品一级分类ID")
    private Integer firstCategoryId;

    @ApiModelProperty("商品一级分类名称")
    private String firstCategoryName;

    // 对应的是商品的类目,例如单肩包,双肩包等,也就是需要在这周将类目数据对应好
    @ApiModelProperty("商品款式Id")
    private Integer secondCategoryId;

    @ApiModelProperty("商品款式名称")
    private String secondCategoryName;

    @ApiModelProperty("商品尺寸")
    private String goodsSize;

    @ApiModelProperty("商品材质")
    private String materialValue;

    @ApiModelProperty("商品颜色")
    private String goodsColor;

    @ApiModelProperty("腕周")
    private String wristCircumference;

    @ApiModelProperty("机芯")
    private String moveMent;

    // 图片地址
    @ApiModelProperty("商品鉴定书")
    private String goodsCertificateImg;

    // 附件
    @ApiModelProperty("附件")
    private String enclosure;

    // 适用人群
    @ApiModelProperty("适用人群")
    private String applyPeople;

    // 商品备注
    @ApiModelProperty("商品备注")
    private String goodsNote;

    // 商品系列
    @ApiModelProperty("商品系列")
    private String series;

    /**
     * 商品卖点语音地址
     */
    @ApiModelProperty("商品卖点语音地址")
    private String sellingPointAudio;
}
